﻿using Godot;

namespace VectorSurvivors.GameWorld;

[GlobalClass]
public abstract partial class Item : Resource
{
    [Export] public Texture2D Texture { get; private set; }
    public abstract string Name { get; }
    public virtual int MaxStackSize { get; } = 1;
    
    public abstract void Use(Character user, ItemStack stack);
}